<!--

Login box by loginfreebie
Used for Nuked-Klan template by Love-Design (LoveForEver)

-->
				<div id="loginContainer">
					
					<?php if (!$user) { ?>
				<a href="#" id="loginButton"><span>Login</span><em></em></a>
					<div style="clear:both"></div>
					<div id="loginBox">
						<form action="index.php?file=User&amp;nuked_nude=index&amp;op=login" method="post" id="loginForm">
							<fieldset id="body">
								<fieldset>
									<label for="email" >Nickname</label>
									<input id="pseudo" name="pseudo" type="text" value="Pseudo" />
								</fieldset>
								<fieldset>
									<label for="password">Password</label>
									<input type="password" id="pass" name="pass" />
								</fieldset>
								<input type="submit" id="login" value="Sign in" />
								<label for="checkbox"><input type="checkbox" class="checkbox" name="remember_me" value="ok" checked="checked" id="checkbox" />Remember me</label>
							</fieldset>
							<span><a href="#">Register?</a></span>
						</form>
						
					<?php
					}
					else
					{
						if($user >= 3)
						{
							$admin = '<a href="index.php?file=Admin" title="Panneau d\'administration"><span class="admin_link">Admin pannel</span></a>';
						}
					?>
				<a href="#" id="loginButton"><span>Panel</span><em></em></a>
					<div style="clear:both"></div>
					<div id="loginBox">
						<form action="index.php?file=User&amp;nuked_nude=index&amp;op=login" method="post" id="loginForm">
							<center>
								<p style="color:#757575;">Welcome, <?php echo $user[2]; ?></p>
								<p style="color:#757575;"><a style="color:#757575;" href="index.php?file=Userbox"><?php echo $user[5]; ?> news messages</a></p>
								<p style="color:#757575;"><a style="color:#757575;" href="index.php?file=User"><?php echo _ACCOUNT; ?></a> / <a style="color:#757575;" href="index.php?file=User&amp;nuked_nude=index&amp;op=logout"><?php echo _LOGOUT; ?></a></p>
								<?php echo $admin; ?></p>
							</center>
						</form>
					<?php } ?>					
					</div>
				</div>